<div class="payment_top">
    <a href="javascript:history.go(-1)"><img class="backImg" src="images/leftarrow.png"></a>
    <span class="payment_title">设置</span>
</div>

<div class="usermember_center">
    <!--<div ng-show="vm.status">-->
        <!--<div class="bomb-box">-->
        <!--</div>-->
        <!--<div class="bomb-window" >-->
            <!--<span>请设置低电量预警值</span>-->
            <!--<span>(如10，则点亮为10%时提醒)</span>-->
            <!--<input type="text" ng-model="vm.power">-->
            <!--<button>确定</button>-->
        <!--</div>-->
    <!--</div>-->


    <ul class="tablehome_item_detial_two" style="margin-top: 60px">
        <li ng-click="vm.goAuto()">
            <div style="height: 60px">
                <div class="tableitem_text_detail">自动开关机</div>
                <div class="tableitem_paint_detail">
                    <img class="tableitem_img" src="images/rightarrow.png">
                </div>
            </div>
        </li>
        <!--<li ui-sref="setPay">-->
            <!--<div style="height: 60px">-->
                <!--<div class="tableitem_text_detail">支付设置</div>-->
                <!--<div class="tableitem_paint_detail">-->
                    <!--<img class="tableitem_img" src="images/rightarrow.png">-->
                <!--</div>-->
            <!--</div>-->
        <!--</li>-->
        <li ng-click="vm.setLowPower()">
            <div style="height: 60px">
                <div class="tableitem_text_detail">低电量提醒设置</div>
                <div class="tableitem_paint_detail">
                    <span>{{ vm.info.chargeTisement}}</span>
                    <img class="tableitem_img" src="images/rightarrow.png">
                </div>
            </div>
        </li>
        <li ui-sref="version">
            <div style="height: 60px">
                <div class="tableitem_text_detail" >软件版本</div>
                <div class="tableitem_paint_detail" style="width: 60%;">
                    <div class="update_div">发现新版本</div>
                    <img class="tableitem_img" src="images/rightarrow.png">
                </div>
            </div>
        </li>
    </ul>

    <div class="set_exit" ng-click="vm.exitlogin()">
         退出
    </div>

</div>
<div class="modal fade" id="lowPower" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
     style="margin-top: 65px">
    <div class="modal-dialog modal_content" role="document">
        <div class="modal-content model_content_sub">
            <div class="modal-body">
                <span>请设置低电量预警值</span>
                <span>(如10，则电量为10%时提醒)</span>
            </div>
            <input style="width: 85%;" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"  type="text" ng-model="vm.power">
            <div class="margin_top_none">
                <button id="miansurebtn" class="detail_btn detail_btn_active" ng-click="vm.sure()">确定</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="table" tabindex="-1" role="dialog" aria-labelledby="tableLabel"
     style="margin-top: 65px">
    <div class="modal-dialog modal_content" role="document">
        <div class="modal-content model_content_sub">
            <div class="modal-body">
                您暂时未绑定设备！</br>
                请先绑定设备。
            </div>
        </div>
    </div>
</div>
<message-Component message-visible="vm.messageVisible" message="vm.message"  surebtn="vm.sureBtn()"
                   cancelbtn="vm.cancelBtn()"></message-Component>
